function ChangeFormLanguage(_this, langs_array)
{
	var SelectedItem;
	var arr = langs_array.split(',');

	for (var key in arr)
	{
		var val = arr[key];
		SelectorId='lSelector_'+val;
		SelectedSelector=document.getElementById(SelectorId);

		TextareaId='area_'+val;
		SelectedTextarea=document.getElementById(TextareaId);


		if (SelectorId==_this.id)
		{
			SelectedSelector.className='tabLangSelector selected';
			SelectedTextarea.className='tabLangEdite';
		}else
		{
		   	SelectedSelector.className='tabLangSelector';
			SelectedTextarea.className='tabLangEdite hidden';
		}
	}
}

function activateNav(_this)
{
	if (document.getElementById(_this.id).checked)
		document.getElementById('mNparent').disabled=false;
	else
		document.getElementById('mNparent').disabled=true;
}

function setText(_this, _item)
{	alert (_item);
	var changebleItem=document.getElementById(_item);
	if (_this.id=='m')
		changebleItem.value=changebleItem.value+'[M]';
}